package com.doingnow.zuul.microservice;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ucenter")
public interface UcenterService {
    @GetMapping(value = "/oauth/token/validity/{token}")
    Boolean checkToken(@PathVariable("token") String token);
}